**Codebook for `autodefensas.csv`**

- **Name**: Name of the municipality. (Character)
- **autodefensa_fuentes_diaz**: Presence of autodefensas according to Diaz (1 = present, NA = not present). (Numeric)
- **autodefensa_cndh**: Presence of autodefensas according to CNDH (1 = present, NA = not present). (Numeric)

---

**Codebook for `drug_trafficking_homicides_correlations.csv`**

- **state**: State code (numeric identifier for states). (Numeric)
- **year**: Year of the data record. (Numeric)
- **rivalry_hom**: Number of homicides presumably related to drug trafficking organization rivalry (SEGOB). (Numeric)
	Secretaría de Gobernación, SEGOB (Mexican Ministry of Interior). (2011). Base de datos sobre homicidios presuntamente relacionados con el narcotráfico [Database on homicides presumably related to drug trafficking]. Presidencia De La República Y Secretaría De Gobernación.
- **gun_homicides_malicious**: Number of malicious gun homicides. (Numeric)
- **kidnappings**: Number of kidnappings reported. (Numeric)
- **extortion**: Number of extortion cases reported. (Numeric)
- **homicides**: Total number of homicides. (Numeric)
- **gun_homicides**: Number of gun-related homicides. (Numeric)
- **malicious_homicides**: Number of malicious homicides. (Numeric)

---

**Codebook for `exports.csv`**

- **Date**: Date of the data record (YYYY-MM-DD). (Date)
- **USD_THOU**: Export value in thousands of USD. (Numeric)

---

**Codebook for `IDM_NM_feb24.csv`**

- **Ano**: Year of the data record. (Numeric)
- **Clave_Ent**: State code. (Numeric)
- **Entidad**: Name of the state. (Character)
- **Cve..Municipio**: Municipality code. (Numeric)
- **Municipio**: Name of the municipality. (Character)
- **Bien.juridico.afectado**: Legal right affected (category). (Character)
- **Tipo.de.delito**: Type of crime. (Character)
- **Subtipo.de.delito**: Subtype of the crime. (Character)
- **Modalidad**: Modality of the crime. (Character)
- **Enero to Diciembre**: Monthly crime count (one column for each month). (Numeric)

---

**Codebook for `IDM_nov2023.csv`**

- **ANO**: Year of the data record. (Numeric)
- **INEGI**: INEGI code. (Numeric)
- **ENTIDAD**: Name of the state. (Character)
- **MUNICIPIO**: Name of the municipality. (Character)
- **MODALIDAD**: Modality of the crime. (Character)
- **TIPO**: Type of crime. (Character)
- **SUBTIPO**: Subtype of the crime. (Character)
- **ENERO to DICIEMBRE**: Monthly crime count (one column for each month). (Numeric)

---

**Codebook for `mexico_municipality_pop.csv`**

- **year**: Year of the data record. (Numeric)
- **status**: Status of the administrative division (e.g., municipality). (Character)
- **State**: Name of the state. (Character)
- **name**: Name of the municipality. (Character)
- **population**: Population count. (Numeric)

---

**Codebook for `mis.csv`**

- **time**: Time or date when the person went missing. (Character)
- **State**: Name of the state. (Character)
- **Municipality**: Name of the municipality. (Character)
- **state_mun**: Combined state and municipality identifier. (Character)

---

**Codebook for `municipal_crime_data_final.csv`**

- **ANO**: Year of the data record. (Numeric)
- **month**: Month of the data record. (Numeric)
- **time**: Full date (YYYY-MM-DD). (Date)
- **INEGI**: INEGI code for the municipality. (Numeric)
- **ENTIDAD**: Name of the state. (Character)
- **MUNICIPIO**: Name of the municipality. (Character)
- **malicious_gun_homicides**: Number of malicious gun homicides. (Numeric)
- **gun_homicides**: Number of gun-related homicides. (Numeric)
- **malicious_homicides**: Number of malicious homicides (overall). (Numeric)
- **homicides**: Total number of homicides. (Numeric)
- **kidnappings**: Number of kidnappings reported. (Numeric)
- **extortion**: Number of extortion cases reported. (Numeric)

---

**Codebook for `municipal_crime_data_final_new_meth.csv`**

- **ANO**: Year of the data record. (Numeric)
- **month**: Month of the data record. (Numeric)
- **time**: Full date (YYYY-MM-DD). (Date)
- **INEGI**: INEGI code for the municipality. (Numeric)
- **ENTIDAD**: Name of the state. (Character)
- **MUNICIPIO**: Name of the municipality. (Character)
- **malicious_gun_homicides**: Number of malicious gun homicides. (Numeric)
- **gun_homicides**: Number of gun-related homicides. (Numeric)
- **malicious_homicides**: Number of malicious homicides (overall). (Numeric)
- **homicides**: Total number of homicides. (Numeric)
- **kidnappings**: Number of kidnappings reported. (Numeric)
- **extortion**: Number of extortion cases reported. (Numeric)

---

**Codebook for `municipality_coords.csv`**

- **long**: Longitude coordinate of the municipality. (Numeric)
- **lat**: Latitude coordinate of the municipality. (Numeric)
- **code**: Municipality code. (Numeric)

---

**Codebook for `municipality_treatment_times.csv`**

- **state**: Name of the state. (Character)
- **municipality**: Name of the municipality. (Character)
- **Mun_State**: Combined state and municipality identifier. (Character)
- **document.date**: Date of the document. (Date)
- **est_us_date**: Estimated U.S. certification date. (Date)
- **to**: End period or current status (e.g., "present"). (Character)
- **document**: URL link to the related document. (Character)

---

**Codebook for `Analysis all muns.csv`**

- **Year**: Year of the data record. (Numeric)
- **month**: Month of the data record. (Numeric)
- **time**: Full date (YYYY-MM-DD). (Date)
- **INEGI**: INEGI code for the municipality. (Numeric)
- **State**: Name of the state. (Character)
- **Municipality**: Name of the municipality. (Character)
- **malicious_gun_homicides**: Number of malicious gun homicides. (Numeric)
- **gun_homicides**: Number of gun-related homicides. (Numeric)
- **malicious_homicides**: Number of malicious homicides (overall). (Numeric)
- **homicides**: Total number of homicides. (Numeric)
- **kidnappings**: Number of kidnappings reported. (Numeric)
- **extortion**: Number of extortion cases reported. (Numeric)
- **long**: Longitude coordinate of the municipality. (Numeric)
- **lat**: Latitude coordinate of the municipality. (Numeric)
- **Mun_State**: Combined state and municipality identifier. (Character)
- **trade**: Mexican Government Certification Status. (Numeric)
- **ustrade**: U.S. Government Certification Status. (Numeric)
- **trade_mean**: Mean trade value (for determining treatment groups). (Numeric)
- **treat_group**: Treatment group indicator. (Character)
- **id.x**: Identifier (merged data). (Character)
- **home_robbery**: Number of home robberies. (Numeric)
- **business_robbery**: Number of business robberies. (Numeric)
- **transport_robbery**: Number of transport robberies. (Numeric)
- **personal_robbery**: Number of personal robberies. (Numeric)
- **id.y**: Identifier (merged data). (Character)
- **time_group**: Panel group. (Character)
- **min_dist**: Distance to the closest municipality in the opposite group (Control/Treatment). (Numeric)

---

**Codebook for `genetic_matched_muns.csv`**

- **INEGI**: INEGI code. (Numeric)

---

**Codebook for `genetic_matched_pairs.csv`**

- **treated**: Treated group identifier. (Numeric)
- **control**: Control group identifier. (Numeric)
- **treated_INEGI**: INEGI code for the treated group. (Numeric)
- **control_INEGI**: INEGI code for the control group. (Numeric)

---

**Codebook for `propensity_matched_muns.csv`**

- **INEGI**: INEGI code. (Numeric)